package com.qwt.part_time_api.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author 君子慎独
 * @create 2021/12/23 0023 22:52
 * 兼职任务列表
 */

@Data
public class Task {

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "发布者id")
    @TableField("rid")
    private Long releaseId;

    @ApiModelProperty(value = "分类id")
    private Long tid;

    @ApiModelProperty(value = "市级编码")
    private String regionCode;

    @ApiModelProperty(value = "区级编码")
    private String areaCode;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "招聘人数")
    private Long number;

    @ApiModelProperty(value = "工资")
    private Long money;

    @ApiModelProperty(value = "任务开始时间")
    private String startTime;

    @ApiModelProperty(value = "任务结束时间")
    private String endTime;

    @ApiModelProperty(value = "任务描述")
    private String desc;

    @ApiModelProperty(value = "职位要求")
    private String req;

    @ApiModelProperty(value = "工作地址")
    private String workAddr;

    @ApiModelProperty(value = "是否截止")
    private Long cutoff;

    @ApiModelProperty(value = "任务进行")
    private Long status;

    @ApiModelProperty(value = "任务是否违规")
    private Long lower;

    @ApiModelProperty(value = "任务创建时间")
    private String createTime;

    @ApiModelProperty(value = "浏览量")
    private Long traffic;

    @ApiModelProperty(value = "置顶/热度")
    private Long top;

    @ApiModelProperty(value = "种类id")
    private Long sid;

    @ApiModelProperty(value = "工资单位")
    private Long unit;

    @ApiModelProperty(value = "报名截止时间")
    private String cutoffTime;
}
